<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<ul id="nodeList">
			<li>nodeName</li>
			<li>nodeValue</li>
			<li>nodeType</li>
		</ul>
		<p></p>
		<script>
			var nodep=document.getElementById("nodeList");
			var type1=nodep.firstElementChild.nodeType;
			var name1=nodep.firstElementChild.nodeName;
			var value1=nodep.firstElementChild.firstChild.nodeValue;
			var result=document.getElementsByTagName("p")[0];
			result.innerHTML=type1+"<br/>"+name1+"<br/>"+value1;
		</script>
	</body>
</html>
